package com.guigu.base.feign;

import com.guigu.base.entity.vo.OrderDashboardVO;
import com.guigu.tms.result.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName:OrderFeign
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/12/3:13:44 星期五
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@FeignClient(value = "service-order")
public interface OrderFeign {

    /**
     * 获取订单基础数据面板
     *
     * @param dateCount 天数
     * @return
     */
    @ApiOperation("获取订单基础数据面板")
    @GetMapping("/order/order/getOrderDashboardData/{dateCount}")
    public R<OrderDashboardVO> getOrderDashboardData(@PathVariable("dateCount") Integer dateCount);
}
